var translations = [["keyword", "lolz"]];

function translate() {
  var b = $('body');
  for (i=0; i<translations.length; i++) {
     b.replaceText(new RegExp(translations[i][0],"gi"), translations[i][1]);
  }
}

$(document).ready(function() {
  $('#test_link').click(translate);
});